<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
	prefix="tiles"%>

<rich:panel header="#{messages['read.complaint']}">
	<h:panelGrid>
		<h:outputText value="#{errorBean.errorMessage}" styleClass="error"></h:outputText>
	</h:panelGrid>
	
	<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">

		<h:panelGroup>
			<h:outputLabel for="title" value="#{messages['title']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:outputText id="title" styleClass="standardText" value="#{memberComplaintBean.complaint.title}"></t:outputText>
		</h:panelGroup>
		
		<h:panelGroup>
			<h:outputLabel for="detail" value="#{messages['detail']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:outputText id="detail" value="#{memberComplaintBean.complaint.detail}">
			</t:outputText>
		</h:panelGroup>
		<h:panelGroup>
			<h:outputLabel for="reply" value="#{messages['reply']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:outputText id="reply" value="#{memberComplaintBean.complaint.reply}">
			</t:outputText>
		</h:panelGroup>
	</t:panelGrid>
	
	<t:panelGrid columns="2" width="100%" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80">
		<h:outputText></h:outputText>
		<t:panelGroup>
   			<h:commandButton value="#{messages['cancel']}" styleClass="button" immediate="true" action="#{memberComplaintBean.navListAction}"></h:commandButton>
   		</t:panelGroup>
	</t:panelGrid>
	
</rich:panel>